package com.mingqijia.gassafety.db.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.mingqijia.gassafety.db.entity.BaseEntity;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 离线数据
 * </p>
 *
 * @author fei.zhang
 * @since 2023-12-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_gss_offline")
@ApiModel(value="GssOffline对象", description="离线数据")
public class GssOffline extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "设备号")
    @TableField("iMEI")
    private String iMEI;

    @ApiModelProperty(value = "日期")
    @TableField("date")
    private String date;

    @ApiModelProperty(value = "开始")
    @TableField("start_time")
    private Date startTime;

    @ApiModelProperty(value = "结束")
    @TableField("end_time")
    private Date endTime;

    @ApiModelProperty(value = "备注说明")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "备注说明")
    @TableField("duration")
    private String duration;

    @ApiModelProperty(value = "企业编号")
    @TableField("sp_id")
    private String spId;


}
